<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <form id="my-form" class="am-form tpl-form-line-form" method="post">
                    <div class="widget-body">
                        <fieldset>
							<div class="widget-head am-cf">
                                <div class="widget-title am-fl">站点商户注册设置</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">账号前缀 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="register[prefix]"
                                           value="<?= $values['prefix'] ?>" required>
									<small>商户账号自动生成，账号前是否添加改字符串（必须为数字或字母），规则：前缀+商户ID号</small>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">注册账号 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="register[register]"
                                           value="<?= $values['register'] ?>" required>
									<small>设置在公众号内回复的关键字，用于请求“注册账号”。</small>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">找回账号 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="register[username]"
                                           value="<?= $values['username'] ?>" required>
									<small>账号忘记时在公众号内回复该关键找回</small>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">找回密码 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="register[password]"
                                           value="<?= $values['password'] ?>" required>
									<small>密码忘记时在公众号内回复该关键找回</small>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <div class="am-u-sm-9 am-u-sm-push-3 am-margin-top-lg">
                                    <button type="submit" class="j-submit am-btn am-btn-secondary">提交
                                    </button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<script>
    $(function () {

        $('#my-form').formPost();

    });
</script>
